/*** vender ***/
package util;

import java.io.PrintStream;

public class Log {

  PrintStream ps;

  Log(PrintStream ps) {
    this.ps = ps;
  }

  public void error(String str) {
    ps.println("[ERROR] " + str);
  }

  public void info(String str) {
    ps.println("[INFO ] " + str);
  }

  public void warn(String str) {
    ps.println("[WARN ] " + str);
  }
}
